package org.example.coupon.service;


import org.example.core.utils.PageUtils;
import org.example.core.utils.R;
import org.example.coupon.entity.HomeAdvertiseEntity;
import org.example.coupon.vo.FrontAdvertiseVo;

import java.util.List;

/**
 * @author xiaojie_cc
 * @version 1.0
 */
public interface HomeAdvertiseService{

    // 保存广告轮播信息
    int saveHomeAdvertise(HomeAdvertiseEntity homeAdvertise);

    // 广告列表
    PageUtils getHomeAdvertiseList(Integer pageNum, Integer pageSize, String name, Integer status);

    HomeAdvertiseEntity getHomeAdvertiseInfo(Long id);

    int updateAdvertiseInfo(HomeAdvertiseEntity homeAdvertise);

    R<?> deletes(List<Long> ids);

    List<FrontAdvertiseVo> getHomeFrontAdvertiseList();

}

